package com.wn.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author yellow Docter
 * @date 2023 -03-10
 * @desc
 */
@RestController
@RequestMapping("/hello")
//@RefreshScope     //自己刷新
public class HelloController {

//    @Value("${title}")
//    private String title;

    @RequestMapping("/")
    public String hello(){
        return "hello" ;
    }
}
